[package]
name = "mp4parse_capi"
version = "0.5.1"
authors = [
  "Ralph Giles <giles@mozilla.com>",
  "Matthew Gregan <kinetik@flim.org>",
]

description = "Parser for ISO base media file format (mp4)"
documentation = "https://mp4parse-docs.surge.sh/mp4parse/"
license = "MPL-2.0"

repository = "https://github.com/mozilla/mp4parse-rust"

# Avoid complaints about trying to package test files.
exclude = [
  "*.mp4",
]

build = "build.rs"

[dependencies]
"mp4parse" = {version = "0.5.1", path = "../mp4parse"}

[build-dependencies]
rusty-cheddar = "0.3.2"

[features]
fuzz = ["mp4parse/fuzz"]

# Somewhat heavy-handed, but we want at least -Z force-overflow-checks=on.
[profile.release]
debug-assertions = true
